package info.opensoaring.client.rpc;

import info.opensoaring.api.Flight;
import info.opensoaring.api.igc.FlightLog;

import java.util.Collection;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("flight")
public interface FlightService extends RemoteService {

    Collection<Flight> getFlights();

    void addFlight(Flight flight);

    FlightLog analyseFlight(String url);

}
